<%@ page contentType="text/html;charset=utf-8"
	import="com.hykj.valuebean.*;" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<style>
table {
	FONT-SIZE: 13px;
	line-height: 20px
	 }
html, body {
	background:#000000;
	margin: 0;
	padding: 0;
	color:#cccccc;
}
a {
	TEXT-DECORATION: none
}
a:link{
	color:#cccccc;
	
}

a:visited {
	color:#ecac00;
}

a:hover {
	color:#ecac00;
}

a:active {
	color:#ecac00;
}
</style>
<base href="<%=basePath%>">
<title>产品信息</title>
</head>

<body>
<center><jsp:include page="/head.jsp">
	<jsp:param name="menu" value="products"></jsp:param>
</jsp:include>
<table width="945" border="0" cellpadding="0" cellspacing="0">
	
	<tr>
		<td width="655" align="left">
		<table>
			<c:set var="single" value="${requestScope.single}" />
			<c:if test="${empty single}">查看详细信息失败！</c:if>
			<c:if test="${!empty single}">
				<tr>
					<td><b>${single.title }</b></td>
				</tr>
				<tr>
					<td width="655" height="180">
						<img src="${single.gifDir}" width="260" height="195" />&nbsp;
						<img src="${single.bigDir}" width="380" height="195" />
					</td>
				</tr>
				<tr>
					<td width="655" valign="bottom"><b>简单描述</b>：<br />
					${single.describes}</td>
				</tr>
				<tr>
					<td width="655"><b>游戏类型</b>：<br />
					${single.argument}</td>
				</tr>
				<tr>
					<td width="655">
						<table cellpadding="0" cellspacing="0" >
							<tr><td width="655"><b>详细介绍</b>：</td></tr>
							<tr><td><%=((products)request.getAttribute("single")).getIntroduction().trim() %></td></tr>
						</table>
					</td>
				</tr>

			</c:if>
		</table>
		</td>
		<td width="280" valign="top">
		<table cellpadding="0" cellspacing="0">
			<tr>
				<td height="5"></td>
			</tr>
			<tr>
				<td width="280" height="30" style="font-weight:bold; background-color:#323232; text-align:left; text-indent:30px;">分类导航&nbsp;&nbsp;Site Menu
				</td>
			</tr>
			<tr>
				<td align="left" width="280" 
				style="background-color:#323232;
				 border-style:solid; 
				 border-top-width:thin; 
				 border-bottom-color:#323232;
				 border-left-color:#323232;
				 border-right-color:#323232;
				 border-right-width:0px;
				 border-left-width:0px;
				 padding:0px;
				 ">
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
					href="/hykj/products/getCategoryProducts?category=0">java</a><br />
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
					href="/hykj/products/getCategoryProducts?category=1">Symbian</a><br />
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
					href="/hykj/products/getCategoryProducts?category=2">iPhone</a><br />
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
					href="/hykj/products/getCategoryProducts?category=3">Android</a><br />
				</td>
			</tr>
			
			<tr>
				<td height="5"></td>
			</tr>
			<tr>
				<td valign="top" align="left" width="100%" rowspan="3"><jsp:include
					page="/newsCenter.jsp"></jsp:include></td>
			</tr>
		</table>
		</td>
	</tr>
</table>
<jsp:include page="/foot.jsp" /></center>
</body>
</html>
